%module OptionModule

SWIG_JAVABODY_PROXY(public, public, SWIGTYPE)
SWIG_JAVABODY_TYPEWRAPPER(public, public, public, SWIGTYPE)


%import "LibDL/global_typemaps.i"
%typemap(javainterfaces) NoGrad "java.lang.AutoCloseable"

%{
#include "./LibDL/options/device.h"
#include "./LibDL/options/dtype.h"
#include "./LibDL/options/grad.h"
#include "./LibDL/options/Layout.h"
%}


%include "./LibDL/options/device.h"
%include "./LibDL/options/dtype.h"
%include "./LibDL/options/grad.h"
%include "./LibDL/options/Layout.h"

